package org.graudation.verifyCode.service;

import org.graduation.model.common.ResponseResult;
import org.graduation.model.common.verifyCode.VerifyCode;

public interface VerifyCodeService {

    /**
     * 发送验证码
     *
     * @param verifyCode
     * @return
     */
    ResponseResult sendCode(VerifyCode verifyCode);

    /**
     * 验证验证码
     *
     * @param verifyCode
     * @return
     */
    ResponseResult verifyCode(VerifyCode verifyCode);


}
